<?php /* Smarty version 2.6.27, created on 2019-11-05 01:58:40
         compiled from menu/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 't', 'menu/index.tpl', 3, false),)), $this); ?>
<div id="menu_tabs_<?php echo $this->_tpl_vars['type']; ?>
" class="itabs">
  <ul>
    <li><a href="admin.php?ctrl=menu&act=items&type=<?php echo $this->_tpl_vars['type']; ?>
"><?php echo ((is_array($_tmp='菜单列表')) ? $this->_run_mod_handler('t', true, $_tmp) : t($_tmp)); ?>
</a></li>
    <li><a href="admin.php?ctrl=menu&act=edit&type=<?php echo $this->_tpl_vars['type']; ?>
"><?php echo ((is_array($_tmp='添加菜单')) ? $this->_run_mod_handler('t', true, $_tmp) : t($_tmp)); ?>
</a></li>
  </ul>
  <div id="tabs-1"> </div>
</div>

<script type="text/javascript">
  var $menu_tabs_<?php echo $this->_tpl_vars['type']; ?>
 = $("#menu_tabs_<?php echo $this->_tpl_vars['type']; ?>
").tabs({
    select: function(event, ui) {
      if(ui['index'] == 0){
        $(this).tabs( "url" , 1 , "admin.php?ctrl=menu&act=edit&type=<?php echo $this->_tpl_vars['type']; ?>
");
      }
    }
  });
</script>